package com.example.mybatis.dao;

import com.example.mybatis.pojo.User;

import java.util.List;

public interface IUserDAO
{
    User queryUserById(int id);
    List<User> queryUserByUsername1(String name);
    List<User>  queryUserByUsername2(String name);

    int  saveUser(User user);
    int updateUserById(User user);
    int deleteUserById(int id);
}
